home *** CD-ROM | disk | FTP | other *** search
/ Iron Maiden - Maiden Hell! / Iron Maiden - Maiden Hell! Promotional CD-ROM.iso / mac / promo.dxr / scripts_37_switch video = .ls < prev    next >
Encoding:
Text File  |  1998-09-16  |  1.9 KB  |  44 lines

  1. on mouseEnter
  2.   global gTempThumMember
  3.   set gTempThumMember to the member of sprite 43
  4.   set the cursor of sprite the currentSpriteNum to [the number of member "finger", the number of member "fingermask"]
  5.   set the member of sprite 43 to "title" & string(the currentSpriteNum - 30)
  6. end
  7.  
  8. on mouseDown
  9.   global gVideoDuration, gVidVol, gVideoSize
  10.   set the mrate of sprite(7) to 0
  11.   set the member of sprite 7 to "vid" & char 9 of the name of member the member of sprite the currentSpriteNum
  12.   set the member of sprite 31 to "vidThumb10"
  13.   set the member of sprite 32 to "vidThumb20"
  14.   set the member of sprite 33 to "vidThumb30"
  15.   updateStage()
  16.   set the member of sprite the currentSpriteNum to char 1 to 9 of the name of member the member of sprite the currentSpriteNum & "1"
  17.   puppetSprite(10, 0)
  18.   puppetSprite(11, 0)
  19.   set the member of sprite 1 to "singlebg" & the currentSpriteNum - 30 & "0"
  20.   set the member of sprite 10 to "single" & the currentSpriteNum - 30 & "black"
  21.   set the member of sprite 11 to "single" & the currentSpriteNum - 30 & "white"
  22.   set the member of sprite 15 to "singlebg" & the currentSpriteNum - 30 & "mask"
  23.   updateStage()
  24.   if the height of member the member of sprite 10 > the height of sprite 3 then
  25.     set the visible of sprite 4 to 1
  26.     set the visible of sprite 5 to 1
  27.   else
  28.     set the visible of sprite 4 to 0
  29.     set the visible of sprite 5 to 0
  30.   end if
  31.   set gVideoDuration to the duration of member ("vid" & char 9 of the name of member the member of sprite the currentSpriteNum)
  32.   updateStage()
  33.   set the mrate of sprite(7) to 1
  34.   set the volume of sprite 7 to gVidVol
  35. end
  36.  
  37. on mouseLeave
  38.   global gTempThumMember
  39.   set the cursor of sprite the currentSpriteNum to [the number of member "finger", the number of member "fingermask"]
  40.   if the last char in the name of member the member of sprite the currentSpriteNum = "0" then
  41.     set the member of sprite 43 to gTempThumMember
  42.   end if
  43. end
  44.